package com.lili.core.hibernate.po.user;

import java.util.Date;

/**
 * Prop entity. @author MyEclipse Persistence Tools
 */

public class Prop implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userid;
	private Integer num;
	private Integer limitnum;
	private Date starttime;
	private Date endtime;
	private String propcode;
	private Integer creator;
	private Date createtime;
	private Integer modifier;
	private Date modifytime;
	private String propdesc;

	public String getPropdesc() {
		return propdesc;
	}

	public void setPropdesc(String propdesc) {
		this.propdesc = propdesc;
	}

	private String start;

	private String end;

	private Integer paylogid;

	private Integer orderid;

	public Integer getOrderid() {
		return orderid;
	}

	public void setOrderid(Integer orderid) {
		this.orderid = orderid;
	}

	public Integer getPaylogid() {
		return paylogid;
	}

	public void setPaylogid(Integer paylogid) {
		this.paylogid = paylogid;
	}

	private Integer propstatus = 1;

	// Constructors

	public Integer getPropstatus() {
		return propstatus;
	}

	public void setPropstatus(Integer propstatus) {
		this.propstatus = propstatus;
	}

	/** default constructor */
	public Prop() {
	}

	/** minimal constructor */
	public Prop(Integer userid, Integer num, Date starttime, Date endtime,
			String propcode) {
		this.userid = userid;
		this.num = num;
		this.starttime = starttime;
		this.endtime = endtime;
		this.propcode = propcode;
	}

	/** full constructor */
	public Prop(Integer userid, Integer num, Integer limitnum, Date starttime,
			Date endtime, String propcode, Integer creator, Date createtime,
			Integer modifier, Date modifytime) {
		this.userid = userid;
		this.num = num;
		this.limitnum = limitnum;
		this.starttime = starttime;
		this.endtime = endtime;
		this.propcode = propcode;
		this.creator = creator;
		this.createtime = createtime;
		this.modifier = modifier;
		this.modifytime = modifytime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getLimitnum() {
		return this.limitnum;
	}

	public void setLimitnum(Integer limitnum) {
		this.limitnum = limitnum;
	}

	public Date getStarttime() {
		return this.starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return this.endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public String getPropcode() {
		return this.propcode;
	}

	public void setPropcode(String propcode) {
		this.propcode = propcode;
	}

	public Integer getCreator() {
		return this.creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Date getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getModifier() {
		return this.modifier;
	}

	public void setModifier(Integer modifier) {
		this.modifier = modifier;
	}

	public Date getModifytime() {
		return this.modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

}